Skip to content

arm64: account for imported funcs in the branch to a relocation island #2387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

evacchi
Copy link
Contributor

@evacchi evacchi commented Mar 6, 2025

Fixes #2382, follow up to #2346

In #2346 we forgot that the unconditional relative jump to the relocation island should account for the imported functions as well.

@evacchi evacchi force-pushed the trambapoline-offset branch from 9e689a4 to 4d40aaa Compare March 6, 2025 14:37
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
@evacchi evacchi force-pushed the trambapoline-offset branch from 4d40aaa to 7883781 Compare March 6, 2025 15:00
@evacchi
Copy link
Contributor Author

evacchi commented Mar 6, 2025

thanks @ncruces for the help!

@evacchi
Copy link
Contributor Author

evacchi commented Mar 6, 2025

the failure is unrelated, fixed with #2388

@evacchi evacchi marked this pull request as ready for review March 6, 2025 15:46
@evacchi evacchi requested a review from mathetake as a code owner March 6, 2025 15:46
@mathetake mathetake merged commit 26d5f5e into tetratelabs:main Mar 6, 2025
49 of 50 checks passed
@evacchi evacchi deleted the trambapoline-offset branch March 6, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arm64-specific: wasm fails to instantiate: out of bounds memory access
3 participants